
import 'package:flutter/material.dart';

import 'SearchItemView.dart';

/// 搜索词建议widget
class Suggestions extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.all(10),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: <Widget>[
          Container(
            child: Text(
                '热门搜索',
//                style: searchRecommendTitle
            ),
          ),
          SearchItemView(isHisSearch: false,), // isHisSearch 是否历史搜索词View
          Container(
            child: Text(
                '历史搜索',
//                style: searchRecommendTitle
            ),
          ),
          SearchItemView(isHisSearch: true,),
        ],
      ),
    );
  }
}
